import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import SoundPlayer from "@/components/ui/SoundPlayer";

const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
  title: "每日计划 - 专注于目标，养成好习惯",
  description: "轻松创建和管理您的每日计划，通过定期打卡跟踪进度，养成良好习惯。",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="zh-CN">
      <body className={inter.className}>
        <main className="min-h-screen bg-gray-50">
          {children}
          <SoundPlayer />
        </main>
      </body>
    </html>
  );
}
